package com.andova.glcamera.texture

import android.graphics.SurfaceTexture

interface BufferFrameCallback {
    fun onSurfaceAvailable(width: Int, height: Int) {}
    fun onSurfaceSizeChanged(width: Int, height: Int) {}
    fun onSurfaceDestroyed(surfaceTexture: SurfaceTexture?) {}
    fun onDrawFrame(surfaceTexture: SurfaceTexture?) {}
    fun onFrameData(surfaceWidth: Int, surfaceHeight: Int, previewWidth: Int, previewHeight: Int, yuv: ByteArray)
}